package com.jml.bean.自定义BeanFactory后处理;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PropertyConfigurerDerno {

	@Test
	public void t12() {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("bean和容器/自定义BeanFactory.xml");
		SimplePostProcessor simplePostProcessor = (SimplePostProcessor) applicationContext.getBean("simpleBean");
		System.out.println(simplePostProcessor.toString());
	}
}
